home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
cxl400.arc
/
CXLEMS.H
< prev
next >
Wrap
Text File
|
1988-11-19
|
2KB
|
49 lines
/*
┌──────────────────────────────────────────────────────────────────────────┐
│ │
│ CXLEMS.H - CXL (c) 1987, 1988 by Mike Smedley. │
│ │
│ This header file contains prototypes of CXL's Expanded Memory │
│ Specification (EMS) functions. │
│ │
└──────────────────────────────────────────────────────────────────────────┘
*/
#if defined(__TURBOC__)
#if __STDC__
#define _Cdecl
#else
#define _Cdecl cdecl
#endif
#define _Near
#elif defined(__ZTC__)
#define _Cdecl
#define _Near
#elif defined(M_I86) && !defined(__ZTC__)
#if !defined(NO_EXT_KEYS)
#define _Cdecl cdecl
#define _Near near
#else
#define _Cdecl
#define _Near
#endif
#endif
/*---------------------------[ Function Prototypes ]-------------------------*/
unsigned _Cdecl emsalloc(int numpages);
int _Cdecl emsdealloc(int emmhandle);
int _Cdecl emsexist(void);
unsigned _Cdecl emsframe(void);
unsigned _Cdecl emsfree(void);
int _Cdecl emsmap(int emmhandle,int logpage,int phypage);
int _Cdecl emsread(char *dest,unsigned emsofs,unsigned numbytes);
unsigned _Cdecl emstotal(void);
char *_Cdecl emsver(void);
int _Cdecl emswrite(char *src,unsigned emsofs,unsigned numbytes);
unsigned _Cdecl expmem(void);